package login;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class Errore extends JFrame {
   JDialog frame;
	public Errore(){
		frame=new JDialog();
		frame.setSize(500,150);
		frame.setLocation(420,300);
		frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		frame.setVisible(true);
		JPanel p=new JPanel();
		
		 JLabel l=new JLabel("ERRORE: campo utente non valido inserire dai 3 ai 13 caratteri");
		
	    p.add(l);
	   
	    frame.add(p);
	}
	public static void main(String[]args){
		Errore e =new Errore();
		
		
	}
}
